import request from '@/utils/request'

/**
* 底板盖板组装分页查询
* @param {查询条件} data
*/
export function listDcBottomplatecoverassembleclamping(query) {
  return request({
    url: 'business/DcBottomplatecoverassembleclamping/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增底板盖板组装
* @param data
*/
export function addDcBottomplatecoverassembleclamping(data) {
  return request({
    url: 'business/DcBottomplatecoverassembleclamping',
    method: 'post',
    data: data,
  })
}
/**
* 修改底板盖板组装
* @param data
*/
export function updateDcBottomplatecoverassembleclamping(data) {
  return request({
    url: 'business/DcBottomplatecoverassembleclamping',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取底板盖板组装详情
* @param {Id}
*/
export function getDcBottomplatecoverassembleclamping(id) {
  return request({
    url: 'business/DcBottomplatecoverassembleclamping/' + id,
    method: 'get'
  })
}

/**
* 删除底板盖板组装
* @param {主键} pid
*/
export function delDcBottomplatecoverassembleclamping(pid) {
  return request({
    url: 'business/DcBottomplatecoverassembleclamping/delete/' + pid,
    method: 'delete'
  })
}
